package com.red.wood.module.evalMol.service.impl;

import java.util.Map;

import javax.transaction.Transactional;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.red.wood.module.evalMol.dao.AdoptCdnDao;
import com.red.wood.module.evalMol.service.AdoptCdnService;

@Service
@Transactional
public class AdoptCdnServiceImpl implements AdoptCdnService{

	@Autowired
	private AdoptCdnDao adoptCdnDao;
	
	@Override
	public void add(Map<String, Object> paramMap) {
		adoptCdnDao.add(paramMap);
	}

	@Override
	public void delete(String singleTaskId) {
		adoptCdnDao.delete(singleTaskId);
	}

	@Override
	public Map<String, Object> getBySingleTaskId(String singleTaskId) {
		return adoptCdnDao.getBySingleTaskId(singleTaskId);
	}

}
